package IO;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Scanner;

public class Demo10 {
    public static void main(String[] args) {
//                                     InputStream
//        scanner.next();
        try (InputStream inputStream = new FileInputStream("d:/test.txt")){
            Scanner scanner = new Scanner(System.in);
            scanner.next();
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
